package com.housediyadmin.events.goodsEvents
{
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author Bo Zhang
	 * 
	 */	
	public class GetGoodsByDictFlagEvent extends Event
	{
		public static const GET_GOODS_BY_DICTFLAG:String = "getGoodsByDictFlag";
		public static const UPDATE_RELATEGOODS:String = "updateRelategoods";
		
		public var goodsDict:int;
		public var goodsFlag:int;
		public var goodsArray:ArrayCollection;
			
		public function GetGoodsByDictFlagEvent(type:String, goodsDict:int = 0, goodsFlag:int = 0, goodsArray:ArrayCollection = null)
		{
			super(type);
		    this.goodsArray = goodsArray;
		    this.goodsDict = goodsDict;
			this.goodsFlag = goodsFlag;
	}
		
	   override public function clone():Event
		{
		return new GetGoodsByDictFlagEvent(type, goodsDict, goodsFlag, goodsArray);
		}
	}
}